﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FooFun.GrantFrameworks
{
    public interface IPermissionQuery<TObject, TAccount, TPermission>
    {
        PermissionSet this
            [TObject obj, TAccount account, TPermission per]
        {
            get;
        }

        IList<TObject> ListObject();

        IList<TAccount> ListAccount();

        IList<TPermission> ListPermission();
    }  
}
